package work.atpgroup.mapper;

import org.springframework.stereotype.Component;
import work.atpgroup.entity.Identity;


@Component("identityMapper")
public interface IdentityMapper {
    int insertIdentity(Identity identity);
    int deleteIdentity(Integer identityId);
    int updateIdentity(Identity identity);
    Identity getIdentityById(Integer identityId);

    Identity getIdentityByName(String identityName);
}
